package com.hjb.service.config.constant;

import java.util.HashMap;

public class ResultMap extends HashMap<String,Object> {
	private static final long serialVersionUID = 2966956399536836383L;
	public ResultMap() {
		this.put(Key.RESULT_CODE, EnumCode.SUCCESS.getCode());
		this.put(Key.RESULT_INFO, EnumCode.SUCCESS.getDesc());
	}
	public Object getResultCode() {
		return this.get(Key.RESULT_CODE);
	}
	public void setResultCode(String resultCode) {
		this.put(Key.RESULT_CODE, resultCode);
	}
	public Object getResultInfo() {
		return this.get(Key.RESULT_INFO);
	}
	public void setResultInfo(String resultInfo) {
		this.put(Key.RESULT_CODE, resultInfo);
	}
}
